package vendas.business;

import gminet.infra.business.BusinessException;
import gminet.infra.business.BusinessObject;

import java.util.List;

import vendas.dto.SellStatus;


/**
 * @author Gabriel Flores Mendes
 * 
 * 
 */
public class SellStatusBusiness extends BusinessObject {

    public static SellStatus findByPK(int statusId) throws BusinessException {

        return SellStatus.getSellStatusById(statusId);
    }

    public static List<SellStatus> findAll() {

        return SellStatus.getList();
    }

}
